<script setup lang="ts">
 
</script>

<template>
 
    <router-view v-slot="{ Component }">
      <!-- <transition name="fade" mode="in-out"> -->
        <component :is="Component" />
      <!-- </transition> -->
     
    </router-view>
 
</template>

<style scoped>
 

.fade-enter-active, .fade-leave-active {
  transition: all 0.5s ease-in-out;
}

.fade-enter-from, .fade-leave-to {
  opacity: 0;
  transform: translateX(20px);
}

.fade-enter-to, .fade-leave-from {
  opacity: 1;
  transform: translateX(0);
}
 
</style>
